-- GENERATED SPELL FOR [Vengeful Surge] --


function spell0_2776(pUnit, Event) --@Frost Nova,Self--
pUnit:FullCastSpellOnTarget(14907,pUnit)
pUnit:RegisterEvent('Sorts_2776', 8274, 1)
end

function Sorts_2776(pUnit, Event)
local choix_sorts_2776 = math.random(0, 0)
if choix_sorts_2776 == 0 then
pUnit:RegisterEvent('spell0_2776', 1, 1)
end
end

function mob2776_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2776', math.random(1500, 3000), 1)
end

function mob2776_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2776_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2776_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2776, 1, 'mob2776_Action')
RegisterUnitEvent(2776, 2, 'mob2776_Leave')
RegisterUnitEvent(2776, 3, 'mob2776_Kill')
RegisterUnitEvent(2776, 4, 'mob2776_Die')
